ComponentOne Xamarin.Android
CanGroup<T>(ICollectionView<T>,String) Method


C1.CollectionView Assembly > C1.CollectionView Namespace > ICollectionViewEx Class > CanGroup Method : CanGroup<T>(ICollectionView<T>,String) Method
The collection view.
The path of the data item to which the group would be applied.
Returns true if the collection view supports sorting.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Overloads Shared Function CanGroup(Of T As Class)( _
   ByVal collectionView As ICollectionView(Of T), _
   ByVal groupPath As String _
) As Boolean
'Usage
 
Dim collectionView As ICollectionView(Of T)
Dim groupPath As String
Dim value As Boolean
 
value = ICollectionViewEx.CanGroup(Of T)(collectionView, groupPath)
[Extension()]
public static bool CanGroup<T>( 
   ICollectionView<T> collectionView,
   string groupPath
)
where T: class

Parameters

collectionView
The collection view.
groupPath
The path of the data item to which the group would be applied.

Type Parameters

T
See Also

Reference

ICollectionViewEx Class
ICollectionViewEx Members
Overload List